<!doctype html>
<html>
<head>
    <title>API for class CATALOGS (idxCMS: Flat Files Content Management Sysytem ver. 5.0)</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="phpAPI 6.0 (https://github.com/Greenray/phpAPI/)">
    <link href="../style.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <div class="page">
        <div class="header center">
            <div class="content">
                idxCMS: Flat Files Content Management Sysytem ver. 5.0                <div class="logo_desc">Application Programming Interface</div>
            </div>
        </div>
        <div class="panel">
            <div class="content">
                <h1>Namespaces</h1>
<ul>
    <li><a href="../administration/package-summary.html">Administration</a></li>
    <li><a href="../catalogs/package-summary.html">Catalogs</a></li>
    <li><a href="../core/package-summary.html">Core</a></li>
    <li><a href="../forum/package-summary.html">Forum</a></li>
    <li><a href="../gallery/package-summary.html">Gallery</a></li>
    <li><a href="../no package/package-summary.html">No Package</a></li>
    <li><a href="../polls/package-summary.html">Polls</a></li>
    <li><a href="../posts/package-summary.html">Posts</a></li>
    <li><a href="../rss/package-summary.html">RSS</a></li>
    <li><a href="../rate/package-summary.html">Rate</a></li>
    <li><a href="../search/package-summary.html">Search</a></li>
    <li><a href="../statistics/package-summary.html">Statistics</a></li>
    <li><a href="../tagcloud/package-summary.html">Tagcloud</a></li>
    <li><a href="../template/package-summary.html">Template</a></li>
    <li><a href="../tools/package-summary.html">Tools</a></li>
    <li><a href="../user/package-summary.html">User</a></li>
</ul>
<h1>Namespace User</h1>
    <h2>Classes</h2>
    <ul>
            <li><a href="../catalogs/catalogs.html" title="Catalogs \ CATALOGS">CATALOGS</a></li>
        </ul>
            </div>
        </div>
        <div class="main">
            <div class="content">
                <nav class="menu_main center"><div class="menu">
            <ul>
                    <li><a href="../index.html">Overview</a></li>
                    <li><a href="../catalogs/package-summary.html">Namespace</a></li>
                    <li class="active">Class</li>
                    <li><a href="../catalogs/package-tree.html">Catalogs\Tree</a></li>
                    <li><a href="../deprecated.html">Deprecated</a></li>
                    <li><a href="../todo.html">Todo</a></li>
                    <li><a href="../index-all.html">Index</a></li>
                </ul>
    </div>
    <div class="small_links">
        <a href="#details_fields">Fields</a> | <a href="#details_methods">Methods</a> | <a href="#details_constructor">Constructor</a>
    </div>
</nav>
                <hr />
<div class="package">Namespace Catalogs</div>
<h1>Class CATALOGS</h1>
<div id="list">
    <ul>
        <li><a href="../core/dbase.html">DBASE</a><ul><li><a href="../core/sections.html">SECTIONS</a><ul><li><a href="../core/categories.html">CATEGORIES</a><ul><li><a href="../core/items.html">ITEMS</a><ul><li><a href="../core/comments.html">COMMENTS</a><ul><li><a href="../core/content.html">CONTENT</a><ul><li><strong>CATALOGS</strong></li></ul></li>
                        </ul></li>
                        </ul></li>
                        </ul></li>
                        </ul></li>
                        </ul></li>    </ul>
</div>
<hr />
<p class="arguments">public  class <strong>CATALOGS</strong> extends <a href="../core/content.html">CONTENT</a></p>
<div class="comment" id="overview_description">Works with catalogs (files, links etc.)</div>
<div class="finfo">
    <table class="hid">
            <tr>
            <td class="hid left w_100">Program</td>
            <td class="hid right w_100 lilac">&nbsp;</td>
                            <td class="hid" colspan="2">idxCMS: Flat Files Content Management System</td>
                    </tr>
            <tr>
            <td class="hid left w_100">Version</td>
            <td class="hid right w_100 lilac">&nbsp;</td>
                            <td class="hid" colspan="2">5.0</td>
                    </tr>
            <tr>
            <td class="hid left w_100">Author</td>
            <td class="hid right w_100 lilac">&nbsp;</td>
                            <td class="hid" colspan="2">Victor Nabatov &lt;greenray.spb@gmail.com&gt;</td>
                    </tr>
            <tr>
            <td class="hid left w_100">Copyright</td>
            <td class="hid right w_100 lilac">&nbsp;</td>
                            <td class="hid" colspan="2">(c) 2011-2016 Victor Nabatov</td>
                    </tr>
            <tr>
            <td class="hid left w_100">License</td>
            <td class="hid right w_100 lilac">&nbsp;</td>
                            <td class="hid" colspan="2">Creative Commons Attribution-ShareAlike 4.0 International</td>
                    </tr>
            <tr>
            <td class="hid left w_100">File</td>
            <td class="hid right w_100 lilac">&nbsp;</td>
                            <td class="hid" colspan="2">system/catalogs.class.php</td>
                    </tr>
        </table>
</div>
            <table class="inherit">
            <tr><th>Methods inherited from Core \ CONTENT</th></tr>
            <tr>
                <td>
                                    <span><a href="../core/content.html#construct">construct, </a>&nbsp;</span>
                                    <span><a href="../core/content.html#copyTree">copyTree, </a>&nbsp;</span>
                                    <span><a href="../core/content.html#cutText">cutText, </a>&nbsp;</span>
                                    <span><a href="../core/content.html#getContent">getContent, </a>&nbsp;</span>
                                    <span><a href="../core/content.html#getStat">getStat, </a>&nbsp;</span>
                                    <span><a href="../core/content.html#incCount">incCount, </a>&nbsp;</span>
                                    <span><a href="../core/content.html#saveContent">saveContent, </a>&nbsp;</span>
                                    <span><a href="../core/content.html#setValue">setValue</a>&nbsp;</span>
                                </td>
            </tr>
        </table>
            <table class="inherit">
            <tr><th>Methods inherited from Core \ COMMENTS</th></tr>
            <tr>
                <td>
                                    <span><a href="../core/comments.html#construct">construct, </a>&nbsp;</span>
                                    <span><a href="../core/comments.html#getComment">getComment, </a>&nbsp;</span>
                                    <span><a href="../core/comments.html#getComments">getComments, </a>&nbsp;</span>
                                    <span><a href="../core/comments.html#getLastComment">getLastComment, </a>&nbsp;</span>
                                    <span><a href="../core/comments.html#newComment">newComment, </a>&nbsp;</span>
                                    <span><a href="../core/comments.html#removeComment">removeComment, </a>&nbsp;</span>
                                    <span><a href="../core/comments.html#saveComment">saveComment, </a>&nbsp;</span>
                                    <span><a href="../core/comments.html#showCommentForm">showCommentForm, </a>&nbsp;</span>
                                    <span><a href="../core/comments.html#showComments">showComments</a>&nbsp;</span>
                                </td>
            </tr>
        </table>
            <table class="inherit">
            <tr><th>Methods inherited from Core \ ITEMS</th></tr>
            <tr>
                <td>
                                    <span><a href="../core/items.html#construct">construct, </a>&nbsp;</span>
                                    <span><a href="../core/items.html#getCategoryLastItems">getCategoryLastItems, </a>&nbsp;</span>
                                    <span><a href="../core/items.html#getItem">getItem, </a>&nbsp;</span>
                                    <span><a href="../core/items.html#getLastItems">getLastItems, </a>&nbsp;</span>
                                    <span><a href="../core/items.html#getSectionsLastItems">getSectionsLastItems, </a>&nbsp;</span>
                                    <span><a href="../core/items.html#moveItem">moveItem, </a>&nbsp;</span>
                                    <span><a href="../core/items.html#removeItem">removeItem, </a>&nbsp;</span>
                                    <span><a href="../core/items.html#saveItem">saveItem</a>&nbsp;</span>
                                </td>
            </tr>
        </table>
            <table class="inherit">
            <tr><th>Methods inherited from Core \ CATEGORIES</th></tr>
            <tr>
                <td>
                                    <span><a href="../core/categories.html#construct">construct, </a>&nbsp;</span>
                                    <span><a href="../core/categories.html#getCategories">getCategories, </a>&nbsp;</span>
                                    <span><a href="../core/categories.html#getCategory">getCategory, </a>&nbsp;</span>
                                    <span><a href="../core/categories.html#moveCategory">moveCategory, </a>&nbsp;</span>
                                    <span><a href="../core/categories.html#removeCategory">removeCategory, </a>&nbsp;</span>
                                    <span><a href="../core/categories.html#saveCategories">saveCategories, </a>&nbsp;</span>
                                    <span><a href="../core/categories.html#saveCategory">saveCategory, </a>&nbsp;</span>
                                    <span><a href="../core/categories.html#setIcon">setIcon</a>&nbsp;</span>
                                </td>
            </tr>
        </table>
            <table class="inherit">
            <tr><th>Methods inherited from Core \ SECTIONS</th></tr>
            <tr>
                <td>
                                    <span><a href="../core/sections.html#construct">construct, </a>&nbsp;</span>
                                    <span><a href="../core/sections.html#getSection">getSection, </a>&nbsp;</span>
                                    <span><a href="../core/sections.html#getSections">getSections, </a>&nbsp;</span>
                                    <span><a href="../core/sections.html#removeSection">removeSection, </a>&nbsp;</span>
                                    <span><a href="../core/sections.html#saveSection">saveSection, </a>&nbsp;</span>
                                    <span><a href="../core/sections.html#saveSections">saveSections, </a>&nbsp;</span>
                                    <span><a href="../core/sections.html#showSection">showSection, </a>&nbsp;</span>
                                    <span><a href="../core/sections.html#showSections">showSections</a>&nbsp;</span>
                                </td>
            </tr>
        </table>
            <table class="inherit">
            <tr><th>Methods inherited from Core \ DBASE</th></tr>
            <tr>
                <td>
                                    <span><a href="../core/dbase.html#construct">construct, </a>&nbsp;</span>
                                    <span><a href="../core/dbase.html#getIndex">getIndex, </a>&nbsp;</span>
                                    <span><a href="../core/dbase.html#newId">newId, </a>&nbsp;</span>
                                    <span><a href="../core/dbase.html#saveIndex">saveIndex, </a>&nbsp;</span>
                                    <span><a href="../core/dbase.html#setIndex">setIndex</a>&nbsp;</span>
                                </td>
            </tr>
        </table>
        <h2 id="details_constructor">Constructor</h2>
    <div class="location">system/catalogs.class.php at line 17</div>
    <code class="arguments" id="construct">public  void <strong>construct</strong>()</code>
    <div class="details">
            <p class="description">Class constructor</p>
            </div>
    <h2 id="details_methods">Methods</h2>
            <div class="location">system/catalogs.class.php at line 31</div>
        <code class="arguments" id="uploadFile">public  array <strong>uploadFile</strong> (<span class="lilac">integer</span> <span class="blue">$id</span>, <span class="lilac">array</span> <span class="blue">$file</span>)</code>
        <div class="details">
                    <p class="description">Uploads file.</p>
            <div class="finfo">
    <table class="hid">
            <tr>
            <td class="hid left w_100">Parameters</td>
            <td class="hid right w_100 lilac">integer</td>
                            <td class="hid blue w_100">$id</td>
                <td class="hid">File ID</td>
                    </tr>
            <tr>
            <td class="hid left w_100">&nbsp</td>
            <td class="hid right w_100 lilac">array</td>
                            <td class="hid blue w_100">$file</td>
                <td class="hid">$_FILES</td>
                    </tr>
            <tr>
            <td class="hid left w_100">Return</td>
            <td class="hid right w_100 lilac">array</td>
                            <td class="hid" colspan="2">Name and size of uploaded file</td>
                    </tr>
            <tr>
            <td class="hid left w_100">Uses</td>
            <td class="hid right w_100 lilac">&nbsp;</td>
                            <td class="hid" colspan="2">class UPLOADER</td>
                    </tr>
        </table>
</div>
        </div>
        <hr />
                    <nav class="menu_main center"><div class="menu">
            <ul>
                    <li><a href="../index.html">Overview</a></li>
                    <li><a href="../catalogs/package-summary.html">Namespace</a></li>
                    <li class="active">Class</li>
                    <li><a href="../catalogs/package-tree.html">Catalogs\Tree</a></li>
                    <li><a href="../deprecated.html">Deprecated</a></li>
                    <li><a href="../todo.html">Todo</a></li>
                    <li><a href="../index-all.html">Index</a></li>
                </ul>
    </div>
    <div class="small_links">
        <a href="#details_fields">Fields</a> | <a href="#details_methods">Methods</a> | <a href="#details_constructor">Constructor</a>
    </div>
</nav>
            </div>
        </div>
    </div>
    <div class="footer">
        <div class="content">
            <div class="copyright center">Generated by <a href="https://github.com/Greenray/phpAPI" target="_blank">phpAPI</a>: PHP Documentation Creator ver. 6.0 &copy; 2015 - 2016 Greenray</div>
        </div>
    </div>
</body>
</html>
